<template>
  <Dialog ref="dialog" width="700" title="">
    <div class="titleInfo">
      <el-icon color="#e79a42" size="50"><WarningFilled /></el-icon>
      <div class="headerName">操作确认</div>
      <div class="headerSize">重置密码为：12345</div>
    </div>
    <el-divider />
    <div class="right">
      <el-button>取消</el-button>
      <el-button type="primary" @click="closeChange">确定</el-button>
    </div>
  </Dialog>
</template>
<script setup>
import Dialog from '@/components/Dialog/Dialog.vue';
import { ref } from 'vue';
const dialog = ref('');
function openChange() {
  dialog.value.openChange();
}
function closeChange() {
  dialog.value.closeChange();
}

defineExpose({
  openChange,
});
</script>
<style lang="scss" scoped>
.titleInfo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  .headerName {
    color: rgba(0, 0, 0, 0.65);
    font-weight: 600;
    position: relative;
    display: block;
    padding: 13px 16px;
    font-size: 27px;
    line-height: normal;
    text-align: center;
    margin-bottom: 0px;
  }
  .headerSize {
    font-size: 16px;
    text-align: center;
  }
}
</style>
